package com.wzw.springboot.principle.use.security.enums;

/**
 * @author Wangzhiwen
 */
public enum UserStatusEnum {
    VALID("VALID", "有效账户"),
    LOCKED("LOCKED", "用户已锁定"),
    DISABLED("DISABLED", "用户已禁用"),
    ACCOUNT_EXPIRED("ACCOUNT_EXPIRED", "已过期");

    private String status;

    private String desc;

    UserStatusEnum(String status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
